$(function(){
	//提交
	$(".submitbtn").click(function(){
		var oldPassword = $("#oldPassword").val();
		var firstPassword = $("#firstPassword").val();
		var secondPassword = $("#secondPassword").val();
		if (firstPassword == oldPassword){
			alert("修改密码与原密码相同！")
			return false;
		}
		if (secondPassword != firstPassword){
			alert("请重新确认密码！");
			return false;
		}
	})
})